<!--
 * @Author: your name
 * @Date: 2021-12-22 14:55:33
 * @LastEditTime: 2021-12-22 16:51:32
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \main-vue\src\views\Home.vue
-->
<template>
  <div class="home">
    {{name}}
  </div>
</template>

<script>
// @ is an alias to /src
import { mapState } from 'vuex'
export default {
  name: 'Home',
  components: {
  },
    computed:{
    ...mapState(['name'])
  },
}
</script>
